/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package liceo;
import javax.swing.ButtonGroup;
import javax.swing.JCheckBox;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JRadioButton;
import javax.swing.JTextField;

/**
 *
 * @author kndidox
 */
public class panelZon extends JPanel
{

    JLabel ZoEtiqueta, pproEtiqueta, cplEtiqueta, reEtiqueta, dconsEtiqueta, indesEtiqueta;
    JRadioButton sizoRB, nozoRB, noRepRB, siRepRB;
    ButtonGroup zoRB, repRB;
    JCheckBox faBox, frBox, ccaBox, ccrBox, pnBox, pncBox, certifiBox, cdcBox;
    JTextField pproText, cplText, indesText;

    panelZon()
    {
        this.setLayout(null);

        ZoEtiqueta = new JLabel( "Es Zonificado");
        ZoEtiqueta.setBounds(400,5,95,20);
        this.add( ZoEtiqueta );

        sizoRB = new JRadioButton ("Si");
        sizoRB.setBounds(500,5,45,20);
        this.add( sizoRB );

        nozoRB = new JRadioButton ("No");
        nozoRB.setBounds(550,5,45,20);
        this.add( nozoRB );

        zoRB = new ButtonGroup();
        zoRB.add(sizoRB);
        zoRB.add(nozoRB);

        pproEtiqueta = new JLabel( "Plantel de Procedencia");
        pproEtiqueta.setBounds(20,30,170,20);
        this.add( pproEtiqueta );

        pproText = new JTextField(100);
        pproText.setBounds(200,30,200,20);
        this.add(pproText);

        cplEtiqueta = new JLabel( "Codigo del Plantel");
        cplEtiqueta.setBounds(20,60,170,20);
        this.add( cplEtiqueta );

        cplText = new JTextField(100);
        cplText.setBounds(200,60,200,20);
        this.add(cplText);

        reEtiqueta = new JLabel( "Es Repitiente");
        reEtiqueta.setBounds(20,90,120,20);
        this.add( reEtiqueta );

        siRepRB = new JRadioButton ( "Si");
        siRepRB.setBounds(200,90,50,20);
        this.add( siRepRB );

        noRepRB = new JRadioButton ( "No");
        noRepRB.setBounds(250,90,50,20);
        this.add( noRepRB);

        repRB = new ButtonGroup ();
        repRB.add(siRepRB);
        repRB.add(noRepRB);

        dconsEtiqueta = new JLabel( "Documentos Consignados");
        dconsEtiqueta.setBounds(20,120,190,20);
        this.add( dconsEtiqueta );

        faBox = new JCheckBox ("Fotos del Alumno");
        faBox.setBounds(220,120,280, 20);
        this.add(faBox);

        frBox = new JCheckBox ("Fotos del Representante");
        frBox.setBounds(510,120,280, 20);
        this.add(frBox);

        ccaBox = new JCheckBox ("Copia de Cedula Alumno");
        ccaBox.setBounds(800,120,280, 20);
        this.add(ccaBox);

        ccrBox = new JCheckBox ("Copia de Cedula del Representante");
        ccrBox.setBounds(220,150,280,20);
        this.add(ccrBox);

        pnBox = new JCheckBox ("Partida de Nacimiento");
        pnBox.setBounds(510,150,280,20);
        this.add(pnBox);

        pncBox = new JCheckBox ("Copia de Partida de Nacimiento");
        pncBox.setBounds(800,150,280,20);
        this.add(pncBox);

        certifiBox = new JCheckBox ("Certificado de 6to Grado");
        certifiBox.setBounds(220,180,280,20);
        this.add(certifiBox);

        cdcBox = new JCheckBox ("Carta de Buena Conducta");
        cdcBox.setBounds(510,180,280,20);
        this.add(cdcBox);

        indesEtiqueta = new JLabel( "Informe Descriptivo");
        indesEtiqueta.setBounds(20,220,270,20);
        this.add( indesEtiqueta );

        indesText = new JTextField(100);
        indesText.setBounds(220,220,500,20);
        this.add(indesText);

    }//fin del constructor

    //Metodos get
    public String getpproText()
    {
        return pproText.getText();
    }

    public String getcplText()
    {
        return cplText.getText();
    }

    public String getindesText()
    {
        return indesText.getText();
    }

}
